
/* Lasse Bianco
* My javascripts 
* Navigation of navigationbar in player
* */


$('#home').live('pageinit',function(event){
    // Start with Manual selected and Flip Mode hidden
    $('#nav-manual').focus();
    $('#content-flip').hide();
    
    $('#nav-manual').live('tap', function() {
        $('#content-flip').hide();
        $('#content-manual').show();   
    });
    
    $('#nav-flip').live('tap', function() {
        $('#content-manual').hide();
        $('#content-flip').show();
    });
    
    $('#pauseslider').change(function() {
        if (lastFlipVal !== $(this).val()) {
            var newFlipVal = $(this).val();
            lastFlipVal = newFlipVal;
            setFlipper(newFlipVal);
    });
    
});
